projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11dafbc
)
(nsfont_draw): Remove code for stippling, which actually
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Wed, 15 Jul 2009 08:25:49 +0000
(08:25 +0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Wed, 15 Jul 2009 08:25:49 +0000
(08:25 +0000)
does tiling.
src/nsfont.m
patch
|
blob
|
history
diff --git
a/src/nsfont.m
b/src/nsfont.m
index e920ce9bc76a02d72f2248e9dc8e46c06344430a..bf117fe1c9d911ef1d30abd78c6a7f91673fb3c9 100644
(file)
--- a/
src/nsfont.m
+++ b/
src/nsfont.m
@@
-1090,15
+1090,19
@@
nsfont_draw (struct glyph_string *s, int from, int to, int x, int y,
br.size.width -= 2*correction;
}
+#if 0
if (!s->face->stipple)
+#endif
[(NS_FACE_BACKGROUND (face) != 0
? ns_lookup_indexed_color (NS_FACE_BACKGROUND (face), s->f)
: FRAME_BACKGROUND_COLOR (s->f)) set];
+#if 0 /* This is tiling, not stippling. */
else
{
struct ns_display_info *dpyinfo = FRAME_NS_DISPLAY_INFO (s->f);
[[dpyinfo->bitmaps[face->stipple-1].img stippleMask] set];
}
+#endif
NSRectFill (br);
}